package jannex.mapping;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Entity {

    /**
     * The name of the table, defaults to class name.
     */
    String value() default "";

    /**
     * The name of the schema.
     */
    String schema() default "";

    /**
     * Sorting order.
     */
    String[] orderBy() default {};

    String[] uniqueConstraints() default {};

}
